This is my first version of problem 3.  It works if only one field is given as input.  It should be easy to modify if it is supposed to accept multiple fields as input.
Merge branch 'master' of https://github.com/nyucusp/gx5003-fall2013