One Dimensional Ising Model With Spin 1