Assignment 2 - Ari and Tyler

This solution may be shorter, but it's a lot less clear than the commented solution.