Changed the AI code to use a basic FSM

The FSM is now controlling the simple enemy AI. This will make changes
better later on.