Added getEarliestCommonDate() method
Completed the getEarliestDate() method
Wrote tests for getEarliestCommonDate() method
Added tests for getEarliestDate()