Takes a number and returns an ArrayList of its prime factors.