Deep copy pieces
Return the shown JFrame so it can be disposed of later
New function to match curvatures alone
New function: doubleToColor
Fix braces
New function: autocrop image
Divide and conquer solver