Completed tests for sorting array by last letter, getting first half of string, making numbers negative