Add oct function to print values in octal.