added Collection class to support Map, Filter and Each function. Using lambda of java 8