Added horizontal and doubles.

General cleanup. Fixed licensing. Using stdbool not ints. Et cet.
Merge branch 'master' of github.com:totzeit/total