I just started taking my masters degree in computer science. As you y'all know it's some serious sh*t. Anyways, I have an assignment I need to finish this Friday, I feel so stupid for not being able to keep up with the level of programming. I stopped programming in four years, and now I find really difficult to deal with. I hope you guys have some good tips and advice for me. So, my question is how to read a NxN matrix out of a file then use the values to solve 3 different problems such as "The traveling salesman" and "The spanning tree algorithm" and such.