Identify the nerves located deep to the sternomastoid muscle and their functions.