Knn now takes list of dicts instead of file
Function for converting table to list of dicts works