removed return value of availablemoves() in favor of amoves list.