Added main func and make file to the repo for assn4