Solutions to assignments from Pattern-Oriented Software Architecture for Concurrent and Networked Software