adding remove() function to remove tracks from the dictionary of tracks