it seems that i finally finished nussinov algo implementation