Update DirectionCheck.java