implemented free busy time finding algorithm