Update Untitled3.cpp

added splitting hands