Solution of the four-nucleon Schrödinger equation