My attempts to solve some code problems.