Read this. It will explain how surround sound works and goes through some of the various implementations of it.