Text this: Central extension of low dimensional associative and Leibniz algebras