Removed redundant function
Added a makefile