added move to jail method and currentSquare of type square variable to mainActivity