implement finish command
Merge pull request #47 from AI-comp/19_FinishCommand

implement finish command