added a makefile
actual & expected output
working sequential algorithm