Updated s.t. the jar works. However there is a bug which prevents the list of legal moves to work