Finished version one of the source statistics program