Implement blocked time-series cross-validation | Freddie Mac Interview Question