created and implemented mirst-1d class