Emulating the physical properties of HP memristor using an arduino and a digital potentiometer