Function 2 - Inserted Code into BordersCalculator Java Script

Inserted all the code needed for the borders calculator function to
work.