Added functions compose, array first versions of map and each