Added function to determine best way to switch
Added function to determine best way to switch

hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701,hkurhinen/hwo2014-team-701