Finding conservation laws for partial differential equations