wierd that still I haven't got "But can it run crysis??" in the comments. I guess no one memes here...
@ni123ci: I'm not sure about 5 + 8 but 9 + 9 yielding 2 is perfectly normal. The description says the machine will bug out above 15, so don't expect it to return 18. It actually does kinda return 18, for in the terms of the machine 2 means both 2 and 18 (16 + 2), and even 34, 50, 66, etc. It's called an overflow.
@LoneSimba: 7 + 5 yielding 14 has nothing to do with the binary system (or hexadecimal or any base for that matter). Also, hexadecimal digits are 0123456789ABCDEF, there's no G in there. Fun fact: it's E that comes after C and D, not G. Study this further in internet, should help you.
@GeneralElectronics: That's not a nice thing to do, and you know very well what I mean. It'd be more fun if your thing worked but it doesn't.
Looks good for a starter. Troubles with working over 15 is caused by HEX number system, wich powers any computer (actually, just represents binary in compact way). HEX range is from 0-G (0,1,2...C,D,G), and if number is larger than G it overflows (meaning G+1 would be 10 in HEX and 16 in decimal). study this further in internet, should help you