Add rough implementation of Extract Method with local variables