Completed assignment except for signedInt() function

Practically completed assignment except for the signedInt()
implementation. Used the
http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html
website to check my solutions.