Added synchronous concurrency code

This should read the input from resources/input.txt.