print list in reverse order python for loop