add basicalgo and Makefile