Add codes

First three solutions.