circuit simulator mostly finished