changed tree orientation definitions so user specifies in terms of up/down/left/right instead of with 0/90/180/270