Implemented number reading homework
Simplified solution for a bit