R solutions comments added to project2