Refactoring

Added makefile that outputs compiled binary in ./bin
Updated .gitignore to ignore ./bin
Removed redundancy in declarations