methods and outputs indented

Updated outputs as displayed on console, used new ruby syntax while initialising hash in the examples, indented methods.