Update graphics_test.java

Updated with move checker function and winner function.