added function for figures:
boolean canMoveTo(int dr, int dc), boolean canCapture(int dr, int dc)

also created Unit tests for all figures