Spine exoskeleton for rehabilitation after spine surgery