creating basic print and read
refactoring for better performance (currently can handle approx 10 digits)
omitting conversions