Edge shadow casting

Function to cast edge shadows will reside in Edge class itself,
not in Application class.