what is the 3 main parts of the brain