Create function system

Instead of a massive switch clause in Simulation.cpp:s create_part, it calls element's create function, which does the job.