School teachers, board reach contract agreement