Added functions which return functions

Added compose, flf, andf, and orf.