Update Source Code.cs

Replaced bubble sorts with a quick sort function to increase efficiency.