Implemented partition. Possibly done.