Updating core.py. Adding test.csv and test.py