Fix to Atomic vs Synchronized homework