Fuzzy Logic Control of an Inverted Pendulum Robot