Psim: a computational platform for Metabolic P systems