Initial Commit for dispatcher algorithm

-Need to take input