Replacing printcodes for exercise 2.2
Revert "Replacing printcodes for exercise 2.2"

This reverts commit f991bc62c41a390cc7e032ec35715f89d2be6bb5.
Replacing print( ) with console.log( ) in codes for exercise 2.3