arrays/functions finished exercises