Resolved octal to decimal program