removed some bug, modified mod symbol
added homework