Exercise 3.5, second pass, added user input to make any size grid