Write somewhat generic function to insert data for both the 3 and 24 hour PSI readings.

Update main program to use insert_data() function.

Closes #5.