Practice problems for Advanced Functional Programming (COMP150FP-FA2013).