Issue #134 cable master

Accepted POJ

New file:   Makefile
New file:   answer.cc
New file:   input
New file:   output

```
 $ make
 $ make test
```