Add line number to submission code

Fix #40