Army vet gives back to court that helped him 'straighten out'