My adding algorithm

1. Partition