finished capturing pieces
added end_game and started debugging game
fixed more bugs