Added Makefile and Fixed random.cpp