Added implementation for SelectMany
Added tests for SelectMany