Added some algorithms problems

Added some algorithms problems, including several iterations of the
same problem.