Submitting my solution to the bonus assignment.