king functionality without castling and enpassent without move detection