Repeats # multiple times now
Printing operations now repeat as expected. Using custom not implemented error instead of undefined. Added some comments