Problem sets completed as part of the Introduction to Computer Science course on edX by Harvard University. Helper codes provided by edX.