Make follow function calling standards

Use proper registers (ecx for counter, etc)
Do bounds handling, (input mod 10)
Improve Makefile