created rod cutting and test