R programming Assignment 3 work

Functions to sort and extract data from data files.