Replaced Makefile with a brand new one

This version of Makefile could find source files in the directories and generate rules for them, and place object files in a separate directory.