introduced statemachine.py; enemy_base.py now inherits from it
cannon.py now uses statemachine.py; cleaned up enemy_base.py