Tested and sorted out the anyOranges function