Removed unused function
Small optimisation in pieceAt

Assuming that most of the time we are looking at an empty square, check
if it's empty first.