A middle aged male presented with sub acute paresthesias in hands and feet, loss of vibration and position sense and a progressive spastic and ataxic weakness. Examination revealed loss of reflexes along with presence of Babinski sign. Investigation revealed presence of macrocytic RBCs and elevated serum homocystine levels. The most likely diagnosis is