finished first part of assignment, verified results