Create Prolog List from array too.