added 040.hs and 002.c; fixed comment syntax in 002.hs