added if-else for figure in board checking methods
Merge branch 'master' of github.com:drotter/ChessAI
implemented checking for valid pawn moves