A study of extreme waves and their effects on ship structure