Add Makefile to ease building and testing
Fix return code

The return code should be 0 otherwise it indicates a failure of the
executable which makes make complain.
Remove unneeded import
Change signature from int to uint

Since we start counting Fibonacci numbers from 0 there is no need to
allow negative values for n.
Rewrite unittests
Add implementation using constant memory