Simple 2d Truss Solver, Sample solution to TM1 exercise 164