first assignment

@leapfrog-dipendra  @bhuwang  @anishmanandhar  @adhpawal  @Satish-Gupta  @Msanjib  @nerisa  @utsabneupane 
Move this block of code outside the for-loop. `scan = new Scanner(System.in);

`