Fixed minor bugs
Added code for bottom green line.