Software for sidetrack drilling in well workover