Classification of Six Derivative Lagrangians of Gravity and Static Spherically Symmetric Solutions