I am basically trying to figure out a technique in which I can scan a string from left to right and it will give me the integer of it. Starting from right to left is quiet easy