Extensions fix & new problems

Fixed all source.* extensions and added problems 29, 30, 31, 37, 40, 41,
45 and 77