Creating a mesh from a point cloud?
There is algorithm called as delaunay triangulation which does triangulation or points it's comparably simple to understand . But it is very slow. If you don't want to implement your own algorithm from scratch please have look at pcl 
http://pointclouds.org/documentation/tutorials/greedy_projection.php
Also have look at CGAL
http://www.cgal.org.