Java code for the NURBS generating server used in my final year project