Bounds control. Cant get the program to deny inputs that are out of bounds Logic issue with functions