Second commit

added library requirements to matchHistories.R