Added a mapReduce() function in views.py, it's a test for now