Just a fun coding exercise.