Cleaned up much of the code to use Vector rather than Array. Added a Makefile. Seperated out functionality for better compilations.