Project Analysis Algorithm