Despite having a brain the size of a pinhead and a small number of neurons , bees can find the shortest distance between flowers , even if the order is changed , according to researchers at Queen Mary , University of London and Royal Holloway , University of London .