Hw2

Updated and improved R mini assignment. This solves the population aggregation issue.