Cement is a material required to build walls. It can only be made by a level 10+ Builder.
When it comes into contact with water (still or running) on top of it it turns into a Wall.
Then you can use a Trowel to harden it.
2 sand 3 Cobblestone 2 Gravel 2 Clayballs