working on first homework assignment