Abstract concept learning in a simple neural network inspired by the insect brain