edited take method in boundedbuffer
Tilføjet monitor