Updated gitignore to ignore emacs autosaves
Added some enumerations and constants for frequent directions and attacks
Added a few functions for utility
Added a quick test to parse input from stdin