added 'return' keyword
added implementation of Map<K, V> and List<V> just to see how real code can be coded, added 'return' keyword