Completes the basic battle loop
Fixes flake8 issues

+ unused random module in test_actions.py
+ empty __init__.py file failed the pep8 test