Finally got back to fix the bugs to the challenge that intrigued me.