implementation of 1st readers-writers problem

Basic implementation split into 3 files for readability