Rudimentary printing mechanism established.. Needs lots of touch ups.
Print statements for easier understanding