Developing Algorithm to Schedule Workflow onto Distributed Resources