Created for a programming contest in 2003