I need to print out a square of hashes in the following type of format:
 ####
 ####
 ####
 ####
I would like to have an input which will change the dimensions of the square based on a user's choice. Any idea what is the best way to create a reusable method for this? My problem lies in the fact that I konw how to print a string of characters but changin this into a square leaves me baffled. Maybe I could use a loop for this as well?