WEEK 2 HOMEWORK COPIED OVER FROM MASTER

minor edits and typos fixed