Implemented Pawn moves and API change

Implemented tests for pawn pieces (check whether or not a move is
legal). Changed the constructor for ChessBoard.