Update LogicControl.java

Checking horizontally and vertically for random user inputs