Update LeftOrRight.java

Used to throw exceptions, now just prints an error to the console