Added 40, 41 42...

Improved solutions to 5, 24, 35, 39...