Filled in the case statements for the directions