Implemented distribution phase; adjusted makefile to run the tool