Update and rename CheckWin.java to Engine.java