moved getRank and getFile from chess piece to chess board class