[POPL Concurrent] Added my own barrier class