Added creating random learning set