Added char and inetegr support
corrected character output in print function
Updated main to support int and char outputs
handle while loop of printing characters
check char input independently