Source: http://www.cs.ucf.edu/courses/cop3502h/spr2007/binaryOctal.pdf