LDS homeworks

Not finished. Need more testing