An Expert System for Computer Aided Mechanical Design