Let $ABCDE$ be a right square pyramid, with base $ABCD$ and apex $E.$ Find the volume of the pyramid.