A Learning Environment for Digital Electronics