Really neat whenever you get to bitshift. Problem 16 done.
Not sure if I like the way I counted the numbers. It's fast enough
though.