More exercises done. Flatten not working yet.