A fun project in C I did almost 10 years ago