calc_schedules.pl

 * comments for the functions for easy describing