Partial implementation of an algorithm to convert an integer to a string without the use of toString or similar methods