Added monitoring system for cookActions in Restaurant.java