Added more logic to pawn moves

Added property to see if it is promoted, stopped it from going outside
board.