TASK DEFINITION: In this task you will be given a list of integers. You should only return an integer if the first digit is the same as the last digit in the number. If an integer has a single digit, then it should be returned. If there are no integers that start and end with the same digit then an empty list ("[]") should be returned.
PROBLEM: [6, 352, -979, 885, -435, -509, 594, -311, -379, -654, -100, 194, 365, 764, 785, 487, 709, -744, -950]

SOLUTION: [6, -979]

PROBLEM: [-966, 87, 173, -129, -772, -742, 859, 289, 948, 726, 258, 4, 617, 618, 335, 602]

SOLUTION: [4]

PROBLEM: [-261, 666, 11, -804, -511, 917, -452, 610, -678, -839, 230, 12, -313, 595, -910, -321, -517, 130, -547, 912, -375, 131, -942, -721]

SOLUTION:
[666, 11, -313, 595, 131]