fixed typo for function
cropping correct knight moves
limit bishop moves
limiting rook moves