Adds sdl bit function
Merge pull request #34 from jdeseno/bits

Adds sdl bit function