Added precode + almost complete assignment code. Keep in mind that the code is incomplete, and poorly documented. I will fix this soon