change GB -> MB
initial attempt at implementing attack; still doesn't work
clean up setup to be pep8-friendly and better support the ATTACK flag
comments and slight code cleanup