A hard wired model of coupled frontal working memories for various tasks