Bismarck man gets five years in prison for October stabbing