Numerical solution of the Swift-Hohenberg equation in two dimensions