5.9 magnum FREE

Well i now am able to get a free 5.9 magnum that has been sitting outside of my step dads work for a few years. He says that he thinks the heads are cracked and there is no computer. Would it be worth it to rebuild the engine and find a computer? What heads should i put on it? All i have to say is that its free and its a 360 magnum what should i do