UDPATED Chess.java