changed maven compiler plugin version, and source and target to 1.8
added FlatIterator to iterate over nested lists
made FlatIterator extend Iterator<Object>