Updated isLegalMove functionality

white pawns still broken, possibly because of disallowed moves because
of inCheck