added cmake support
- moved types to their own file
- fixed bug in switchpos()
- removed some unnecessary code in isempty()
- added wasd controls
- added running flag
- removed dead code
- swapped y and x to conform to convention
- fixed reversed w and s
adding .gitignore
merged gitignores
makefile -> Makefile (to comply with standards)
removed quake controls
Merge pull request #1 from yukaritan/master

Refactoring