Update MainWindow.xaml.cs

Added a method for computer automatic placement. Still needs to be fixed