Implemented the attack command.

(closes #4)