wrote perform_moves method
added user interface
updated user interface